<!DOCTYPE html>
<html lang="zh"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>线索池详情</title>
    <link rel="icon" href="favicon.ico" type="images/ico" />
    <meta name="author" content="dc" />
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css" />
    <!--标签插件-->
    <link rel="stylesheet" href="/js/jquery-tags-input/jquery.tagsinput.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" />
    <!--固定table列-->
    <link href="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.min.css" rel="stylesheet"/>

    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css" />
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css">
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css">
    <link rel="stylesheet" href="/css/common/range.css" type="text/css">
    <!-- 多选下拉 -->
    <link rel="stylesheet" href="/css/bootstrap-multiselect.css" type="text/css"/>
    <link rel="stylesheet" href="/css/bootstrap-select.css" type="text/css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/cluePoolManager/cluePoolDetail.css"/>
</head>
<body>
<!--线索池主键-->
<input type="hidden" id="poolId" name="poolId" th:value="${poolId}"/>
<!--线索池类别(0:个人池;1:私有池;2:分公司公有池;3:全国公有池)-->
<input type="hidden" id="poolCategory" name="poolCategory" th:value="${poolCategory}"/>
<!--线索池停用/启用状态(1:开启;2:停用)-->
<input type="hidden" id="poolState" name="poolState" th:value="${poolState}"/>
<!--是否是默认池子(0:不是默认;1:默认池子)-->
<input type="hidden" id="defaultMark" name="defaultMark" th:value="${defaultMark}"/>
<!--分配方式(0:混合模式;1:被动分配)-->
<input type="hidden" id="allocation" name="allocation" th:value="${allocation}"/>
<!--是否显示权限与详情tab页-->
<input type="hidden" id="poolPermissionFlag" name="poolPermissionFlag" th:value="${poolPermissionFlag}">
<div class="container-fluid clue-page">
    <div class="card detail-page">
        <div class="card-header">
            <h1>线索池详情</h1>
        </div>
        <div class="card-body">
            <ul class="new-tabs">
                <li class="nav-item active" id="homeBasic">
                    <a data-toggle="tab" href="#home-basic" aria-expanded="false">线索清单</a>
                </li>
                <li class="nav-item" id="profileBasic">
                    <a data-toggle="tab" href="#profile-basic" onclick="profileBasic()" aria-expanded="false">线索池规则设置</a>
                </li>
                <li class="nav-item" id="messagesBasic">
                    <a data-toggle="tab" href="#messages-basic" aria-expanded="false">数据统计</a>
                </li>
                <li class="nav-item" id="settingsBasic">
                    <a data-toggle="tab" href="#settings-basic" aria-expanded="true">权限与详情</a>
                </li>
            </ul>
            <input type="hidden" id="tabNumber" name="tabNumber" value="1">
            <div class="tab-content">
                <div class="tab-pane fade active in" id="home-basic">
                    <div class="row content-action">
                        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                            <button style="margin: 0;" type="button" class="btn btn-label btn-success" onclick="goAddNew()">
                                <label><i class="mdi mdi-plus"></i></label>新增线索
                            </button>
<!--                            <div class="btn-group pull-left" >
                                <button type="button" class="btn btn-info dropdown-toggle"  data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                    批量导入 <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu">
                                    <li><a href="#!" onclick="showImportClueModal()">直接导入</a></li>
                                    <li><a href="#!" onclick="downClueTemplate()">下载模板</a></li>
                                </ul>
                            </div>-->
                        </div>
                        <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
                            <div class="pull-right">
                                <div class="min-search pull-left">
                                    <input class="form-control" type="text" placeholder="请输入公司名称" id="companyName" name="companyName" autocomplete="off">
                                    <button class="btn btn-primary" type="button" onclick="searchClueTableList(1)"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                </div>
                                <button class="btn btn-default btn-senior" data-toggle="collapse" data-target="#filterContent" aria-expanded="false" aria-controls="filterContent"><i class="mdi mdi-sort-variant"></i>高级筛选</button>
                            </div>
                        </div>
                    </div>
                    <div class="collapse filter-content" id="filterContent">
                        <!--(线索清单)高级搜索-->
                        <div class="row">
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="industrySelect">行业</label>
                                <div>
                                    <select name="industrySelect" id="industrySelect" class="form-control">
                                        <option value="">请选择行业</option>
                                        <option value="1">农、林、牧、渔业</option>
                                        <option value="2">采矿业</option>
                                        <option value="3">制造业</option>
                                        <option value="4">电力、热力、燃气及水生产和供应业</option>
                                        <option value="5">建筑业</option>
                                        <option value="6">批发和零售业</option>
                                        <option value="7">交通运输、仓储和邮政业</option>
                                        <option value="8">住宿和餐饮业</option>
                                        <option value="9">信息传输、软件和信息技术服务业</option>
                                        <option value="10">金融业</option>
                                        <option value="11">房地产业</option>
                                        <option value="12">租赁和商务服务业</option>
                                        <option value="13">科学研究和技术服务业</option>
                                        <option value="14">水利、环境和公共设施管理业</option>
                                        <option value="15">居民服务、修理和其他服务业</option>
                                        <option value="16">教育</option>
                                        <option value="17">卫生和社会工作</option>
                                        <option value="18">文化、体育和娱乐业</option>
                                        <option value="19">公共管理、社会保障和社会组织</option>
                                        <option value="20">国际组织</option>
                                        <option value="21">其他</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="enterpriseTypeSelect">企业类型</label>
                                <div>
                                    <select name="enterpriseTypeSelect" id="enterpriseTypeSelect" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">有限责任公司</option>
                                        <option value="2">股份有限公司</option>
                                        <option value="21">国企</option>
                                        <option value="9">外商投资企业</option>
                                        <option value="20">独资企业</option>
                                        <option value="5">个体工商</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="yearsEstablishmentSelect">成立年限</label>
                                <div class="clearfix custom-group">
                                    <select name="yearsEstablishmentSelect" id="yearsEstablishmentSelect" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">1年内</option>
                                        <option value="2">1-3年</option>
                                        <option value="3">3-5年</option>
                                        <option value="4">5-10年</option>
                                        <option value="5">10年以上</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">年</span>
                                        <div class="box">
                                            <input type="text" id="beginYearsEstablishment" name="beginYearsEstablishment" class="form-control">
                                            <input type="text" id="endYearsEstablishment" name="endYearsEstablishment" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="registeredCapitalSelect">注册资本</label>
                                <div class="clearfix custom-group">
                                    <select name="registeredCapitalSelect" id="registeredCapitalSelect" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">100万以内</option>
                                        <option value="2">100-500万</option>
                                        <option value="3">500-1000万</option>
                                        <option value="4">1000-3000万</option>
                                        <option value="5">3000-5000万</option>
                                        <option value="6">5000万以上</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">万</span>
                                        <div class="box">
                                            <input type="text" id="beginRegisteredCapital" name="beginRegisteredCapital" class="form-control">
                                            <input type="text"id="endRegisteredCapital" name="endRegisteredCapital" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="insuredNumbersSelect">参保人数</label>
                                <div class="clearfix custom-group">
                                    <select name="insuredNumbersSelect" id="insuredNumbersSelect" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">5人以下</option>
                                        <option value="2">5-10人</option>
                                        <option value="3">10-20人</option>
                                        <option value="4">20-100人</option>
                                        <option value="5">100-500人</option>
                                        <option value="6">500-1000人</option>
                                        <option value="7">1000人以上</option>
                                    </select>
                                    <div class="custom-box">
                                        <label class="lyear-checkbox"><input type="checkbox"><span>自定义</span></label>
                                        <span class="unit">人</span>
                                        <div class="box">
                                            <input type="text" id="beginInsuredNumbers" name="beginInsuredNumbers" class="form-control">
                                            <input type="text" id="endInsuredNumbers" name="endInsuredNumbers" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistContactPersonPhone">是否有联系电话</label>
                                <div>
                                    <select name="isExistContactPersonPhone" id="isExistContactPersonPhone" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">有</option>
                                        <option value="0">无</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistContactPerson">是否有联系人</label>
                                <div>
                                    <select name="isExistContactPerson" id="isExistContactPerson" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">有</option>
                                        <option value="0">无</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="isExistCompanyEmail">是否有联系邮箱</label>
                                <div>
                                    <select name="isExistCompanyEmail" id="isExistCompanyEmail" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="1">有</option>
                                        <option value="0">无</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                                <label for="clueStateSelect">线索状态</label>
                                <div>
                                    <select name="clueState" id="clueStateSelect" class="form-control">
                                        <option value="">请选择</option>
                                        <option value="0">在池</option>
                                        <option value="1">已领取</option>
                                        <option value="2">已分配</option>
                                        <option value="3">已转化</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group col-lg-9 col-md-8 col-sm-6 col-xs-6 btn-box">
                                <label>&nbsp;</label>
                                <div class="text-right">
                                    <button class="btn btn-primary" type="button" onclick="searchClueTableList()"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                                    <button class="btn btn-default" onclick="resetData(this);">重置</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    <table id="clueTableList"></table>
                </div>
                <div class="tab-pane fade" id="profile-basic">
                    <div class="alert alert-warning" role="alert">
                        <p><strong>混合模式：</strong>线索池提供 主动领取和主动分配功能</p>
                        <p><strong>被动分配：</strong>只提供系统自动分配功能，不提供主动分配和主动领取功能</p>
                    </div>
                    <div class="example-box">
                        <label class="lyear-radio radio-inline radio-primary">
                            <input type="radio" value="0" id="mixedMode" name="allocationRadio" onchange="changeWay(0)">
                            <span>混合模式</span>
                        </label>
                        <label class="lyear-radio radio-inline radio-primary">
                            <input type="radio" value="1" id="passiveAllocation" name="allocationRadio" style="margin-right: 6px;" onchange="changeWay(1)">
                            <span>被动分配</span>
                        </label>
                    </div>
                    <div class="well form-well">
                        <h2>规则设置</h2>
                        <div class="one">
                            <h3>领取规则</h3>
                            <div class="row">
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">最多领取数量</label>
                                    <div class="form-content">
                                        <input type="text" id="maximumNumber" class="form-control" placeholder="请输入最多领取数量" oninput="value=value.replace(/[^\d]/g,'')">
                                    </div>
                                </div>
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">同一线索不能连续领取间隔</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="timeInterval" class="form-control" placeholder="请输入领取时间间隔" oninput="value=value.replace(/[^\d]/g,'')">
                                        <span class="input-group-addon">h</span>
                                    </div>
                                </div>
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">任意线索不能连续领取间隔</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="continueTimeInterval" class="form-control" placeholder="请输入领取时间间隔" oninput="value=value.replace(/[^\d]/g,'')">
                                        <span class="input-group-addon">s</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="two">
                            <h3>退回规则</h3>
                            <div class="row">
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">无跟进退回时间间隔</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="returnInterval" class="form-control" placeholder="请输入无跟进退回时间间隔" oninput="value=value.replace(/[^\d]/g,'')">
                                        <span class="input-group-addon">h</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="three" id="fenpeiguize">
                            <h3>分配规则</h3>
                            <div class="row">
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">分配时间间隔</label>
                                    <div class="form-content input-group">
                                        <input type="text" id="allocationTimeInterval" class="form-control" placeholder="请输入分配时间间隔" oninput="value=value.replace(/[^\d]/g,'')">
                                        <span class="input-group-addon">h</span>
                                    </div>
                                </div>
                                <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                    <label class="control-label label-required">分配数量</label>
                                    <div class="form-content">
                                        <input type="text" id="assignedQuantity" class="form-control" placeholder="请输入分配数量" oninput="value=value.replace(/[^\d]/g,'')">
                                    </div>
                                </div>
                                <div class="col-xs-12">
                                    <label class="control-label label-required">被动分配人员名单</label>
                                    <div class="form-content">
                                        <div class="row" id="selectContain">
                                            <div class="col-xs-4">
                                                <!-- 部门 -->
                                                <select  id="companyList" class="form-control" title="请选择部门" data-live-search="true"></select>
                                            </div>
                                            <div class="col-xs-4">
                                                <!-- 人员 -->
                                                <select id="personList" class="form-control col-sm-2" title="请选择人员" data-live-search="true" ></select>
                                            </div>
                                            <div class="col-xs-2">
                                                <button type="button" class="btn btn-success" onclick="addList()">添加</button>
                                            </div>
                                            <div id="nameList" class="col-sm-8"><ul class="well"></ul></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="form-actions">
                        <button type="button" class="btn btn-primary btn-label" onclick="updateCluePoolRule()"><label><i class="mdi mdi-check"></i></label>提交</button>
                        <button type="button" class="btn btn-default" onclick="formReset();">重置</button>
                    </div>
                </div>
                <div class="tab-pane fade" id="messages-basic" >
                    <div class="info">
                        <ul>
                            <li>
                                <h5>线索总数</h5>
                                <span id="allClueNumber"></span>
                            </li>
                            <li>
                                <h5>线索总领取数</h5>
                                <span id="allGetClue"></span>
                            </li>
                            <li>
                                <h5>线索0次领取数量</h5>
                                <span id="zero">200</span>
                            </li>
                            <li>
                                <h5>线索池累计使用人数</h5>
                                <span id="poolUsageCount"></span>
                            </li>
                            <li>
                                <h5>线索闲置数</h5>
                                <span id="freeNumber"></span>
                            </li>
                            <li>
                                <h5>线索总转化数</h5>
                                <span id="changeNumber"></span>
                            </li>
                            <li>
                                <h5>线索总跟进记录</h5>
                                <span id="followNumber"></span>
                            </li>
                        </ul>
                        <div id="main" class="echarts"></div>
                    </div>
                </div>
                <div class="tab-pane fade settings-basic" id="settings-basic">
                    <div class="row">
                        <div class="col-lg-6 col-md-5 col-sm-5 col-xs-12">
                            <div class="power-box power-disable">
                                <h3>线索池管理组设置</h3>
                                <div class="box" style="height: 460px;">
                                    <div class="chose-action">
                                        <h5>选择人员：</h5>
                                        <div class="pull-right">
                                            <select id="peopleSelect" multiple="multiple"></select>
                                        </div>
<!--                                        <button type="button" class="btn btn-primary" onclick="confirm()">添加</button>-->
                                    </div>
                                    <div class="chose-list" id="example-tags">
                                        <span id="nothing" style="width: 80px;display: inline-block;">暂无人员</span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <input type="hidden" id="companyId" name="companyId" th:value="${companyId}"/>
                        <div class="col-lg-6 col-md-7 col-sm-7 col-xs-12">
                            <div class="power-box power-disable">
                                <h3>线索池使用组设置<span>创建线索池为私有池类型，功能开启</span></h3>
                                <div class="box" style="height: 280px;">
                                    <div class="chose-action">
                                        <h5>按公司选人：</h5>
                                        <div class="pull-right">
                                            <select multiple="multiple" name="supplierId" id="peopleMultiple" onchange="changePeople(this)"></select>
                                        </div>
                                        <div class="pull-right" style="width: 140px; margin-right: 12px;">
                                            <select class="selectpicker" id="companyMultiple" data-live-search="true" onchange="changecompany(this)"></select>
                                        </div>
<!--                                        <button type="button" class="btn btn-primary" onclick="confirmCompany2()">添加</button>-->
                                    </div>
                                    <div class="chose-list" id="chooseCompanyPeople" style="height: 217px;">
                                        <!--<span>已选公司&#45;&#45;人员：</span>-->
                                    </div>
                                </div>
                                <div class="box" style="height: 164px;">
                                    <div class="chose-action">
                                        <h5>选公司：</h5>
                                        <div class="pull-right">
                                            <select multiple="multiple" name="supplierId" id="quanxianCompanySelect"></select>
                                        </div>
<!--                                        <button type="button" class="btn btn-primary" onclick="confirmCompany()">添加</button>-->
                                    </div>
                                    <div class="chose-list" id="alreadyChooseCompany" style="height: 100px;">
                                        <!--<span>已选公司：</span>-->
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-12">
                            <textarea th:text="${poolDetail}" disabled id="addDetail" class="addDetail" rows="6" placeholder="请输入线索详情"></textarea>
                        </div>
                    </div>
                    <div class="action-box text-right">
                        <button id="editBtn" class="btn btn-primary btn-label" type="button" onclick="editContent()"><label><i class="mdi mdi-pencil"></i></label>修改</button>
                        <button class="btn btn-default" type="button" onclick="editCancel(this)" style="display: none;">取消</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 模态框 分配 -->
<div class="modal fade" id="clueDistributeModal" tabindex="-1" role="dialog" aria-labelledby="clueDistributelLabel">
    <input type="hidden" name="clueId" id="clueId">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4 class="modal-title" id="clueDistributelLabel">分配</h4>
            </div>
            <div class="modal-body">
                <!-- 私有池 -->
                <div id="selfPool">
                    <div class="company-box">
                        <h5>按公司选人</h5>
                        <div id="companyBox" style="display: flex;justify-content: space-between;align-items: center;">
                            <div class="company-tree lyear-dropdown-tree" style="width: 50%;">
                                <select name="supplierId" id="companySelect" class="selectpicker show-tick form-control" data-live-search="true">
                                </select>
                            </div>
                            <div class="right-show-people" style="width: 45%;">
                                <div class="tip-content"></div>
                            </div>
                        </div>
                    </div>
                    <div class="self-box">
                        <h5>按人名选人</h5>
                        <select name="supplierId" id="peopleSelectDialog" class="selectpicker show-tick form-control" data-live-search="true"></select>
                    </div>
                </div>
                <!-- 分公司公有池/ 全国公有池 -->
                <div id="allPool">
                    <div class="company-box">
                        <h5>按公司选人</h5>
                        <div id="companyBoxAll" style="display: flex;justify-content: space-between;align-items: center;">
                            <div class="company-tree lyear-dropdown-tree" style="width: 50%;">
                                <select name="supplierId" id="companySelectAll" class="selectpicker show-tick form-control" data-live-search="true"></select>
                            </div>
                            <div class="right-show-people" style="width: 45%;">
                                <div class="tip-content" id="peopleSelectByCompanyId"></div>
                            </div>
                        </div>
                    </div>
                    <div class="self-box" style="box-sizing:border-box;padding: 10px;flex-grow: 1;border: 1px solid #f2f2f2;border-radius: 6px;">
                        <h5>按人名选人</h5>
                        <div style="display: flex;align-items: center;">
                            <div class="input-group" style="flex-grow: 1;">
                                <input type="text" class="form-control" name="userName" id="userName" placeholder="请输入关键词...">
                                <span class="input-group-btn">
                                        <button class="btn btn-default" type="button" onclick="selectPeopleByName()">搜索</button>
                                    </span>
                            </div>
                            <div style="flex-grow: 1;margin-left: 30px;">
                                所选人员：<span id="choosedPeopleName" style="color: #4460F1;"></span>
                                <input type="hidden" id="choosedPeopleId"/>
                            </div>
                        </div>
                        <ul id="dimSearch" style="padding: 0;">

                        </ul>
                    </div>
                </div>
            </div>
            <div class="modal-footer" style="text-align: center;">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary" onclick="resetData()">重置</button>
                <button type="button" class="btn btn-primary" onclick="distributeClueClick()">保存</button>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="importClueModal" tabindex="-1" role="dialog"
     aria-labelledby="exampleModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body">
                <input type="file" id="importClueFile" name="importClueFile">
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary" onclick="importClueList()">导入</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" onclick="cancelImportClueList()">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 模态框 收回 -->
<div class="modal fade" tabindex="-1" role="dialog" id="retrieveClueModal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-body" style="min-height: 200px;">
                <!-- start -->
                <h4 style="line-height: 40px;font-size: 14px;font-weight: bold;">请输入回收信息</h4>
                <form class="form-horizontal">
                    <textarea class="form-control" id="returnReason" name="returnReason" rows="6" placeholder="请输入回收信息"></textarea>
                </form>
                <div style="width: 100%;display: flex;justify-content: center; margin-top: 30px;">
                    <div class="btn btn-primary" style="margin-right: 20px;" onclick="confirmRetrieveClue()">确定</div>
                    <div class="btn btn-default" onclick="cancelRetrieveClue()">取消</div>
                </div>
                <!-- end -->
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<!--table固定列-->
<script type="text/javascript" src="/js/bootstrap-table/extensions/fixed-columns/bootstrap-table-fixed-columns.js"></script>

<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<!-- 多选框下拉 -->
<script type="text/javascript" src="/js/bootstrap-multiselect.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.js"></script>
<script type="text/javascript" src="/js/bootstrap.lyear.dropdowntree.min.js"></script>
<script src="/js/crm/cluePoolManager/cluePoolDetail.js"></script>
<!-- 拖动 -->
<!--<script src="/js/bootstrap-table/extensions/resizable/bootstrap-table-resizable.min.js"></script>
<script src="/js/crm/common/colResizable-1.6.min.js"></script>-->
<script>
    // $('.new-tabs a:last').tab('show');
</script>
</html>